package com.zb.framework.wechatnews.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Auther: 周作为
 * @Date: 2019/6/18 23:27
 * @Description:
 */
@ApiModel(description= "图文消息")
public class MpNewsVo {
    @ApiModelProperty(value = "标题，不超过128个字节，超过会自动截断",required = true)
    private String title; //标题，不超过128个字节，超过会自动截断

    @ApiModelProperty(value = "图文消息缩略图的media_id",required = true)
    private String thumb_media_id; //图文消息缩略图的media_id, 可以通过素材管理接口获得。此处thumb_media_id即上传接口返回的media_id

    @ApiModelProperty(value = "图文消息的作者")
    private String author; //图文消息的作者，不超过64个字节

    @ApiModelProperty(value = "图文消息点击“阅读原文”之后的页面链接")
    private String content_source_url; //图文消息点击“阅读原文”之后的页面链接

    @ApiModelProperty(value = "图文消息的内容，支持html标签，不超过666 K个字节",required = true)
    private String content; //图文消息的内容，支持html标签，不超过666 K个字节

    @ApiModelProperty(value = "图文消息的描述")
    private String digest; // 图文消息的描述，不超过512个字节，超过会自动截断

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getThumb_media_id() {
        return thumb_media_id;
    }

    public void setThumb_media_id(String thumb_media_id) {
        this.thumb_media_id = thumb_media_id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent_source_url() {
        return content_source_url;
    }

    public void setContent_source_url(String content_source_url) {
        this.content_source_url = content_source_url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }
}
